package com.wjs.CarolSecKill.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wjs.CarolSecKill.pojo.Goods;
import com.wjs.CarolSecKill.vo.GoodsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品表 Mapper 接口
 *
 * @author wjs
 * @date 2022-09-03
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    List<GoodsVo> findGoodsVo();

    GoodsVo findGoodsVoById(@Param("id") Long id);
}
